package cn.hh.order.service.impl;


import cn.hh.basic.service.impl.BasicServiceImpl;
import cn.hh.basic.util.DistanceUtil;
import cn.hh.order.domain.OrderAddress;
import cn.hh.order.domain.ProductOrder;
import cn.hh.order.domain.ProductOrderDetail;
import cn.hh.order.mapper.OrderAddressMapper;
import cn.hh.order.mapper.ProductOrderDetailMapper;
import cn.hh.order.mapper.ProductOrderMapper;
import cn.hh.order.service.IProductOrderService;
import cn.hh.org.domain.Shop;
import cn.hh.org.mapper.ShopMapper;
import cn.hh.product.domain.Product;
import cn.hh.product.mapper.ProductMapper;
import cn.hh.user.domain.UserAddress;
import cn.hh.user.mapper.UserAddressMapper;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Service
public class ProductOrderServiceImpl extends BasicServiceImpl<ProductOrder> implements IProductOrderService {

    @Autowired
    private ProductOrderMapper productOrderMapper;

    @Autowired
    private UserAddressMapper userAddressMapper;

    @Autowired
    private OrderAddressMapper orderAddressMapper;

    @Autowired
    private ProductMapper productMapper;
    @Autowired
    private ProductOrderDetailMapper productOrderDetailMapper;


}
